import { createApp } from 'vue'
// import './lib/css/all-style.scss'
import './index.css'
import './assets/style/index.scss'
import 'github-markdown-css'
import Markdown from './components/Markdown.vue'; // 全局引入markdown
import App from './App.vue'
// @ts-ignore
// import LuckUI from './lib/index.ts'
import {router} from "./router";

import {
  LcButton,
  LcSwitch,
  LcDialog,
  LcTabs,
  LcTab,
  LcIcon,
  LcDropdownItem,
  LcDropdown
} from './lib/index'
const app = createApp(App)
app.use(router)
app.mount('#app')
app.component("Markdown", Markdown) // 全局引入markdown
// app.use(LuckUI)
app.component(LcButton.name,LcButton)
  .component(LcSwitch.name,LcSwitch)
  .component(LcDialog.name,LcDialog)
  .component(LcTab.name,LcTab)
  .component(LcTabs.name,LcTabs)
  .component(LcIcon.name,LcIcon)
  .component(LcDropdownItem.name,LcDropdownItem)
  .component(LcDropdown.name,LcDropdown)
